<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据采集</title>
    <link rel="stylesheet" href="../assets/css/style.css">
    <link rel="stylesheet" href="../assets/css/stylenum.css">
    <link rel="stylesheet" href="../assets/css/jquery.treeview.css"/>
    <link rel="stylesheet" href="../assets/css/BeatPicker.min.css"/>
    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/jquery.treeview.js" type="text/javascript"></script>
    <script src="../assets/js/BeatPicker.min.js"></script>
    <script src="../assets/js/common.js"></script>
</head>
<body>
<!--黑幕-->
<div id="darkdiv">

</div>

<div class="jg-title">
    <img src="../assets/img/titlebg.jpg"><span style="font-weight: 100;">数据查询生成模板</span>
</div>
<div class="jg-main">
    <table cellspacing="0" cellpadding="0" class="jg-table">
        <tr>
            <td width="130" class="jg-table-tdname">模板名称</td>
            <td width="295">
                <input class="jg-input3" type="text" value="">
            </td>
            <td width="130" class="jg-table-tdname">创建人</td>
            <td width="295"><input class="jg-input3" type="text" value=""></td>
        </tr>
        <tr>
            <td class="jg-table-tdname">模板类型</td>
            <td colspan="3">
                <input type="checkbox" checked="checked"><span>临时模板</span>
                <input type="checkbox"><span>规定模板</span>
                <input type="checkbox"><span>建议模板</span>
                <input type="checkbox"><span>其他模板</span>
            </td>
        </tr>
        <tr>
            <td class="jg-table-bottom" colspan="4">
                <button type="button" class="jg-btn-search" onclick="searchResult();"></button>
                <button type="button" class="jg-btn-scxynmb" onclick="openAllDesk('iw-sxtj')"></button>
                <button type="button" class="jg-btn-pzbbzhgx"></button>
            </td>
        </tr>
    </table>
</div>
<!--查询结果-->
<div class="jg-search" style="padding-bottom: 20px;">
    <div class="jg-zlsh" id="jg-sorry" style="display: none;">
        <img src="../assets/img/gth.jpg" style="vertical-align: top;"><span
            style="color: red;font-size: 18px;">对不起，没有查询到您需要的数据！</span>
    </div>
    <div id="jg-result" style="display: none;">
        <div class="tj-right-tab fl" style="width: 90px;">
            查询结果
        </div>
        <div class="fl ml20">
            <input type="checkbox" name="jg4-type"><span>全选</span>
        </div>
        <div class="clearfix"></div>
        <div class="num_table" style="width: 99%;margin: 0;">
            <table cellpadding="0" cellspacing="0" style="width: 100%;">
                <tr class="num_table_firsttr">
                    <td width="57">选择</td>
                    <td width="445">模板名称
                    </td>
                    <td width="200">创建人
                    </td>
                    <td width="145">创建机构
                    </td>
                    <td width="188">模板类型
                    </td>
                    <td width="233">报表
                    </td>
                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>01 工业总产值同比增速查询</td>
                    <td>李阳</td>
                    <td>0000000000</td>
                    <td>规定模板</td>
                    <td>B204-1</td>

                </tr>
            </table>

        </div>
        <div class="rf-bottom" style="width: 100%;">
            <span class="rf-bottom-span">共<label>4997</label>条记录</span>
            <ul class="rf-page">
                <li>上一页</li>
                <li class="active">1</li>
                <li>2</li>
                <li>3</li>
                <li>4</li>
                <li>5</li>
                <li class="pass">···</li>
                <li>15</li>
                <li>下一页</li>
            </ul>
        </div>
        <div class="jg-bottom-btn" style="text-align: center;">
            <button type="button" class="tj-bj-btn-back"></button>
            <button type="button" class="tj-bj-btn-dc" style="width: 67px;height: 27px;vertical-align: middle"></button>

        </div>
    </div>
</div>
<!--生成下一年模板-->
<div id="iw-sxtj" class="openbg">
    <div class="gljb-desk">
        <div class="remindtop"><span>选择任务</span><img onclick="closeDark();closeAllDesk('iw-sxtj');"
                                                     src="../assets/img/showclose.jpg"></div>
        <div class="num_table" style="width: 90%;margin: 15px 5%;">
            <table cellpadding="0" cellspacing="0" style="width: 100%;">
                <tr class="num_table_firsttr">
                    <td width="61">选择</td>
                    <td width="410">任务名称</td>
                </tr>
                <tr>
                    <td colspan="2" style="border: 0;text-align: left;">
                        <div style="height: 275px;overflow-y: scroll;">
                            <table cellpadding="0" cellspacing="0" style="width: 100%;margin-top: -1px;"
                                   class="add-desk-table2 add-desk-table3">
                                <tr>
                                    <td width="64"><input type="radio" name="bgq" checked="checked"></td>
                                    <td width="410">贸易调查制度（2017）</td>
                                </tr>
                                <tr class="tj-table-dd">
                                    <td><input type="radio" name="bgq"></td>
                                    <td>江苏省重点基数改造竣工项目效益跟踪调查制度</td>
                                </tr>
                                <tr>
                                    <td><input type="radio" name="bgq"></td>
                                    <td>非公有企业（单位）人才资源状况抽样调查</td>
                                </tr>
                                <tr class="tj-table-dd">
                                    <td><input type="radio" name="bgq"></td>
                                    <td>企业接受政府情况调查问卷</td>
                                </tr>
                                <tr>
                                    <td><input type="radio" name="bgq"></td>
                                    <td>四众制度</td>
                                </tr>
                                <tr class="tj-table-dd">
                                    <td><input type="radio" name="bgq"></td>
                                    <td>2014-2015年境外来中国大陆工作专家统计调查</td>
                                </tr>

                                <tr>
                                    <td><input type="radio" name="bgq"></td>
                                    <td>江苏省企业景气调查制度[8]</td>
                                </tr>
                                <tr class="tj-table-dd">
                                    <td><input type="radio" name="bgq"></td>
                                    <td>专业固定资产定报[201604SS]</td>
                                </tr>
                                <tr>
                                    <td><input type="radio" name="bgq"></td>
                                    <td>连锁经营统计年报[201603SS]</td>
                                </tr>
                                <tr class="tj-table-dd">
                                    <td><input type="radio" name="bgq"></td>
                                    <td></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>

        <div class="add-desk-mbtn">
            <button type="button" onclick="showAlert()">确定</button>
            <button type="button" onclick="closeAllDesk('iw-sxtj');" style="background-color: #a4aaad;">关闭</button>
        </div>
    </div>
</div>

<!--提示框-->
<div id="remind">
    <div class="remind" style="width: 460px;margin-left: -200px;height: 280px;">
        <div class="remindtop"><span id="remindname">页面提醒</span><img onclick="closeRemind();"
                                                                     src="../assets/img/showclose.jpg"></div>
        <div class="remindmain" style="width: 380px;margin-left: 40px;">
            <img class="fl" src="../assets/img/gth.jpg">
            <p class="fl ml10" style="width: 325px;color: red;font-size: 16px;line-height: 30px;margin-top: -5px;text-align: left;">模版生成完成，在生成过程中发生错误！<br>
错误信息：[03-订货量额一致（需要勾选规则B03003-B03006）]数据查询模版中[B204 2 ]缺少配置信息！
            </p>
        </div>
        <div class="clearfix"></div>
        <div class="remindok">
            <button type="button" onclick="closeRemind();">确定</button>
        </div>
    </div>
</div>
<script type="text/javascript">
    var changetext = 0;
    var result = 0;
    $(document).ready(function () {

        $(".JS_shgxtab .tj-shgx-tabname").click(function () {
            $(".JS_shgxtab .tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_shgxpanel .tj-shgx-panel").addClass("undis");
            $(".JS_shgxpanel .tj-shgx-panel")[$(this).index()].className = "tj-shgx-panel";
        });
        $(".JS_shgxtab2 .tj-shgx-tabname").click(function () {
            $(".JS_shgxtab2 .tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_shgxpanel2 .tj-pinner-panel").addClass("undis");
            $(".JS_shgxpanel2 .tj-pinner-panel")[$(this).index()].className = "tj-pinner-panel";
        });
    });
    function showup() {
        document.getElementById("jg-table-up").style.display = "block";
        document.getElementById("jg-table-down").style.display = "none";
        $(".jg-table-trhid").removeClass("undis");
    }
    function showdown() {
        document.getElementById("jg-table-up").style.display = "none";
        document.getElementById("jg-table-down").style.display = "block";
        $(".jg-table-trhid").addClass("undis");
    }
    function searchResult() {

        if (result != 0) {//如果不为0就是有数据，为0就是无数据
            $("#jg-sorry").css("display", "block");
            $("#jg-result").css("display", "none");
        }
        else {
            $("#jg-sorry").css("display", "none");
            $("#jg-result").css("display", "block");
        }
    }
</script>
</body>
</html>